
package cn.edu.hust.youth.tzb.dao;

import java.util.Collection;

import cn.edu.hust.youth.tzb.model.Manager;
import cn.edu.hust.youth.tzb.model.Student;
import cn.edu.hust.youth.tzb.service.StudentException;


public interface StudentDAO
{


	public void addStudent(Student s) throws StudentException;


	public Student getStudent(String studentid) throws StudentException;


	public void modifyStudentInfo(String studentid, Student s)
			throws StudentException;


	public boolean checkStudentid(String studentid) throws StudentException;

	public void modifyPwd(String Studentid, String newPwd)
			throws StudentException;

	public boolean checkOldPwd(String Studentid, String OldPwd)
			throws StudentException;

	public Collection getNeedAuditStudent(Manager m, int pageid)
			throws StudentException;

	public void auditStudentInfo(String studentid) throws StudentException;

	public void deleteStudentInfo(String studentid) throws StudentException;

	public Collection getNeedAuditStudentID(Manager m) throws StudentException;

	public Collection getNeedAuditStudent(String academy, int pageid)
			throws StudentException;

	public Collection getNeedAuditStudentID(String academy)
			throws StudentException;
	public Collection getAllPassedStudent(String academy)
			throws StudentException;

	public Collection getAllPassedStudentID(String academy)
			throws StudentException;

}
